home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
726-750
/
734
/
powervisor
/
s
/
pv
/
cmdline.pv
< prev
next >
Wrap
Text File
|
1995-03-18
|
1KB
|
38 lines
/*==============================================================*/
/* Start this script from a shell with the 'rx' command. */
/* You will know have a pseudo PowerVisor commandline where you */
/* can use almost any PowerVisor command. This script is useful */
/* if you want to use a terminal for debugging. */
/* If you precede a command with a '!', the command will be */
/* executed as a shell command. */
/* Use 'quit' to quit this script. */
/*==============================================================*/
address rexx_powervisor
options results
say "PowerVisor shell command line V1.0"
say "Use 'quit' to quit this script (PowerVisor will not quit!)"
hide
TheEnd=0
do while TheEnd=0
'to * print \(curlist(),%s)>\ '
parse pull input
if input='quit' then TheEnd=1
else if substr(input,1,1)='!' then
do
address command substr(input,2)
end
else if input~='' then
do
'to *' input
if rc~=0 then
do
'to * print \({error error},%s)\0a'
end
end
end
unhide